package com.wzdigit.wms.basic.client.response.task;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.wzdigit.wms.basic.client.BasicResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

/**
 * <p>
 * wms定时调度任务表
 * </p>
 *
 * @author 
 * @since 2021-04-26
 */
@Data
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = false)
public class TaskSchedulingReponse extends BasicResponse {

    private static final long serialVersionUID = 1L;

    /**
     * 调度ID
     */
    @ApiModelProperty("调度ID")
    private Integer taskSchedulingId;

    /**
     * 调度名称
     */
    @ApiModelProperty("调度名称")
    private String name;

    /**
     * 调度描述
     */
    @ApiModelProperty("调度描述")
    private String describe;

    /**
     * 执行计划
     */
    @ApiModelProperty("执行计划")
    private String cron;

    /**
     * 启用状态
     */
    @ApiModelProperty("启用状态")
    private Integer isEnabled;

    /**
     * 单据组
     */
    @ApiModelProperty("单据组")
    private String docGroup;
    
    /**
     * 单据类型，多个以；隔开
     */
    @ApiModelProperty("单据类型，多个以；隔开")
    private String docType;
    
    /**
     * 工厂组织，多个以；隔开
     */
    @ApiModelProperty("工厂组织，多个以；隔开")
    private String factory;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String comments;
    
    /**
     * 可选用的单据类型
     */
    @ApiModelProperty("可选用的单据类型")
    private Map<String, String> docTypeMap;
}
